#ifndef tr_local_h__
#define tr_local_h__


#include "RenderModel.h"

void R_InitTriSurfData( void );
void R_ShutdownTriSurfData( void );

srfTriangles_t*     R_AllocStaticTriSurf( void );
void                R_AllocStaticTriSurfVerts( srfTriangles_t* tri, int numVerts );
void                R_AllocStaticTriSurfIndexes( srfTriangles_t* tri, int numIndexes );
void                R_FreeStaticTriSurf( srfTriangles_t* tri );

void *              R_StaticAlloc( int bytes );
void *              R_ClearedStaticAlloc( int bytes );
void                R_StaticFree( void *data );

#endif // tr_local_h__